<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>后台管理-用户管理首页</title>
		<link rel="stylesheet" type="text/css" href="__CSS__/userdeal.css">
	</head>
	<body>
		<div>
			<!-- 顶部 -->
				<div class="top">
					<img src="__IMG__/tx.jpg" />
					<span class="top-1">论坛后台管理</span>
					<span class="top-2">欢迎您：{:session('uName')}</span>
				</div>
			<!-- 导航栏 -->
				<div class="navbar">
					<ul>
						<li><a href="{:url('deal/mesdeal')}">帖子管理</a></li>
						<li><a href="{:url('deal/userdeal')}">用户管理</a></li>
						<li><a href="{:url('deal/secdeal')}">版块管理</a></li>
						<li><a href="{:url('deal/bindeal')}">回收站管理</a></li>
						<li><a href="{:url('advdeal/advdeal')}">广告管理</a></li>
						<li><a href="{:url('advdeal/boxdeal')}">轮播图管理</a></li>
						<li><a href="{:url('admin/apa')}">修改密码</a></li>
						<li><a href="{:url('admin/alogout')}">注销</a></li>
						<li><a href="/mamx28/public/index.php/mamx_forum/Mamx">论坛前台</a></li>
					</ul>
				</div>
				<!-- 用户信息搜索 -->
				<div class="seclead">
					<span>用户管理</span>
					<form method="post" action="{:url('deal/userdeal',['search' => input('search')])}" class="search">
						<input type="text" name="search" class="search1">
						<input type="submit" value="搜 索" class="search2">
					</form>
				</div>
				<!-- 显示用户信息 -->
				<div class="user">
					<table>
						<tr>
							<td colspan="7">
								<span>用户管理</span>								
							</td>
						</tr>
						<tr class="head">
							<td>序号</td>
							<td>昵称</td>
							<td>电话</td>
							<td>邮箱</td>
							<td>头像</td>
							<td>用户权限</td>
							<td>操作</td>
						</tr>
						{volist name="user" id="userRow"}
							<tr class="colspan">
								<td>{$i}</td>
								<td class="name">{$userRow.u_nick}</td>
								<td>{$userRow.u_tel}</td>
								<td>{$userRow.u_email}</td>
								<td class="show"><img src="__UPLOAD1__/{$userRow.u_img}"></td>
								<td>
									<a style="color:{$userRow.ucheckcolor}">{$userRow.u_check}</a>
								</td>
								<td><a href="{:url('deal/userpower',['unick'=>$userRow.u_nick])}">修改权限</a></td>
							</tr>
						{/volist}
					</table>
				</div>
		</div>
	</body>
</html>
